import NotFound from '@/components/NotFound';

// import Status from 'containers/Status';
import Login from '@/components/Login';
//import Home from '@/components/Home.vue';
import Tool from '@/components/Tools'

import settings from './settings';
import tool from './tool';
import books from './books';


import {
    LOGIN_ROUTE,
    INDEX_ROUTE,
    TOOL_MAIN_ROUTE
} from '@/constants/routes';

export default [
    {
        path: '/',
        name: INDEX_ROUTE,
        component: Tool,
        redirect: { name: TOOL_MAIN_ROUTE }
    },
    {
        path: '/login',
        name: LOGIN_ROUTE,
        component: Login
    },
    // {
    //     path: '/devops/status',
    //     name: DEVOPS_STATUS_ROUTE,
    //     component: Status
    // },
    books,
    settings,
    tool,
    {
        path: '/not_find',
        component: NotFound
    },
    {
        path: '/*',
        component: NotFound
    }
];
